package com.hu.hutool.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @Author CazCen
 * @Date 2021/11/18 10:22
 */
@Data

public abstract class Animal {

    /**
     * 几条脚
     */
    @JSONField(name = "foot_number")
    private Integer footNumber;

    /**
     * 几只眼睛
     */
    @JSONField(name = "eye_number")
    private Integer eyeNumber;

    /**
     * 几个嘴巴
     */
    @JSONField(name = "mouse_number")
    private Integer mouseNumber;

    /**
     * 体重
     */

    @JSONField(name = "weight_number")
    private float weightNumber;

    /**
     * 动物call
     */
    public void shout() {

    }


    /**
     * 动物move
     */
    public void move() {

    }

    /**
     * 动物eat
     */
    public void eat() {

    }

}
